package com.cj;

import com.cj.dubbo.impl.DemoServiceImpl;
import com.cj.dubbo.localRegist.LocalRegister;
import com.cj.dubbo.protocool.http.HttpServer;

/**
 * @author chan
 * @dateTime 2022/9/28  10:48:41
 */
public class ApplicationTest {
    public static void main(String[] args) {

        LocalRegister.register("DemoService", DemoServiceImpl.class);
        HttpServer httpServer = new HttpServer();
        httpServer.start("localhost", 8081);
    }
}
